package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserMessageSmsVerifyCodeDao;
import com.frogs.ucenter.entity.UserMessageSmsVerifyCode;
import com.frogs.ucenter.service.UserMessageSmsVerifyCodeService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userMessageSmsVerifyCodeService")
public class UserMessageSmsVerifyCodeServiceImpl extends BaseServiceImpl<UserMessageSmsVerifyCode> implements UserMessageSmsVerifyCodeService {
    @Autowired
    private UserMessageSmsVerifyCodeDao userMessageSmsVerifyCodeDao;

    public UserMessageSmsVerifyCodeServiceImpl() {
        super();
    }

    public UserMessageSmsVerifyCodeDao getUserMessageSmsVerifyCodeDao() {
        return userMessageSmsVerifyCodeDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserMessageSmsVerifyCode> getBaseDao() {
        return userMessageSmsVerifyCodeDao;
    }

    public void setUserMessageSmsVerifyCodeDao(UserMessageSmsVerifyCodeDao userMessageSmsVerifyCodeDao) {
        this.userMessageSmsVerifyCodeDao = userMessageSmsVerifyCodeDao;
    }
}